package com.example.logindb.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.*;
import org.springframework.validation.annotation.Validated;

import java.sql.Date;


@Entity
@Table(name = "online")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Validated
public class Online {

    @Id
    @Column(name = "user_id")
    private int id;

    @Column(name = "status")
    private int status;


}
